package freejim.icu.highschoolhealthstatuspost.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface InfoRepository extends JpaRepository<Info,Long> {


    @Query(value = "select * from info where id in ?1",nativeQuery = true)
    List<Info> getInfoByIds(List<Integer> ids);


}
